package com.glela.task;

/**
 * 用户妆币快照定时任务
 * @author MaoZeYao
 *
 */
public class VipRoleTask {
	
//	private static final Logger logger = LoggerFactory.getLogger(VipRoleTask.class);
//	
//	@Autowired
//	private UserMapper userMapper;
	
	public void autoGiveVipRole () {
//		logger.info("------->开始自动给予会员身份");
		// 查询符合条件的普通用户
//		List<Long> userIdList = userMapper.selectCanUpVipIds();
//		logger.info("------->本次符合条件：" + userIdList.size());
//		userMapper.updateUsersToVip(userIdList);
//		logger.info("------->自动给予会员身份结束");
	}

}
